<?php
    $conn=mysql_connect("localhost","root","");
	if(!$conn){
		die('Could not connect: ' . mysql_error());	
	}
	$db=mysql_select_db("rizhi",$conn) or die("error:select db fail!");
	mysql_query("set names utf8;");
?>